<?php
namespace core\lib;

class log 
 {
    static public $class;
    static public function init() {
        /**
        * 1.是否有
        * 2.写日志
        */
        $class = conf::get( 'drive' );
        $class = '\\core\\lib\\drive\\log\\'.$class; 
        self::$class = new $class;

    }
    static public function log( $name ) {
        self::$class->log( $name );
    }

}
